package com.usefullc.crawler.param;
import com.usefullc.common.domain.BaseDomain;
import com.usefullc.crawler.domain.OutputTemplate;
import com.usefullc.system.validator.UsefulPropertyVerify;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 爬虫模板参数实体
 * @author: 星空
 * @date: 2022-07-26
 */
@ApiModel
@Data
public class ExportDataParam extends BaseDomain {

    @UsefulPropertyVerify(required=true)
    @ApiModelProperty(notes = "导出部位(0 模版；1 活动实例)")
    private Integer exportPart;

    @ApiModelProperty(notes = "模版ID")
    private Long templateId;

    @ApiModelProperty(notes = "活动实例ID")
    private Long activeProcessId;

    @UsefulPropertyVerify(required=true)
    @ApiModelProperty(notes = "导出类型")
    private String exportType;

    @ApiModelProperty(notes = "过滤条件配置")
    private String filterCondition;

    private OutputTemplate excelTemplate;

    private OutputTemplate jdbcTemplate;

    private OutputTemplate httpTemplate;


}
